import { sum } from "./js/math";

import { createApp } from 'vue';

const { priceFormat } = require("./js/format");

import App from "./vue/App";

import axios from "axios";
axios.defaults.baseURL ="";

import "./js/element";

if(module.hot){
    module.hot.accept("./js/element",() => {
     console.log("模块发生了替换");
    })
}

console.log(sum(10,20));

console.log(priceFormat());

// const app = createApp({
//     template :'#my-app',
//     data(){
//         return{
//             title:"Hello world",
//             message:"哈哈哈"
//         }
//     }
// });
const app = createApp(App);
app.mount("#app");

console.log("1211111221");
console.log("saa");

axios .get("/szjy-boot/api/v1/system/homepage/notice/findPage").then(res => {
    console.log(res);
}).catch(err => {
    console.log(err);
})
